﻿#region
/*******************************************************************************
** File Name:		    IRightsService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface IRightsService
    {
        #region  Auto Generation

        void AddRights(RightsModel model);

		void UpdateByRightID (RightsModel model );

		void DeleteByRightID (System.Int32 rightID );
		 
        RightsModel GetByRightID (System.Int32 rightID );
        

		#endregion
        IList<RightsModel> GetAll();

		IList<RightsModel> GetByRightsTypeID(int rightsTypeID);
    }
}